/*
 *    Copyright (c) 2018-2025, tdf All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: tdf
 */

package com.engine4cloud.tdf.common.core.constant.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.io.Serializable;

/**
 * @author tdf
 * @date 2018/8/15 社交登录类型
 */
@Getter
@AllArgsConstructor
public enum LoginTypeEnum implements Serializable {

    /**
     * 账号密码登录
     */
    PWD("PWD", "账号密码登录"),

    /**
     * 验证码登录
     */
    SMS("SMS", "验证码登录"),

    APPSMS("APP-SMS", "APP验证码登录"),

    /**
     * QQ登录
     */
    QQ("QQ", "QQ登录"),

    /**
     * 微信登录
     */
    WECHAT("WX", "微信登录"),

    /**
     * 微信小程序
     */
    MINI_APP("MINI", "微信小程序"),

    /**
     * 码云登录
     */
    GITEE("GITEE", "码云登录"),

    /**
     * 开源中国登录
     */
    OSC("OSC", "开源中国登录"),

    /**
     * 钉钉
     */
    DINGTALK("DINGTALK", "钉钉"),

    /**
     * 企业微信
     */
    WEIXIN_CP("WEIXIN_CP", "企业微信"),

    /**
     * CAS 登录
     */
    CAS("CAS", "CAS 登录");

    /**
     * 类型
     */
    private String type;

    /**
     * 描述
     */
    private String description;

}
